<div class="content">
    <ul class="breadcrumb">
      <li><?php echo CHtml::link('Админка ', array('default/index')); ?> <span class="divider">/</span></li>
      <li><?php echo CHtml::link('Баннеры в ротации ', array('default/bannersBig')); ?> <span class="divider">/</span></li>
      <li class="active"> <?php echo isset($_GET['id']) ? 'Изменить' : 'Добавить'; ?> </li>
    </ul>
    <hr/>
    
    <?php echo CHtml::errorSummary($model); ?>

    <?php echo CHtml::form('','post',array('enctype'=>'multipart/form-data')); ?>

    <?php echo CHtml::activeLabel($model, 'bannerCode'); ?>
    <?php echo CHtml::activeTextArea($model, 'bannerCode', array('size'=>'100')); ?> <br/>
    
    <?php echo CHtml::activeLabel($model, 'emptyCode'); ?>
    <?php echo CHtml::activeTextArea($model, 'emptyCode', array('size'=>'100')); ?> <br/>
    
    <?php echo CHtml::activeLabel($model, 'type'); ?>
    <?php echo CHtml::activeDropDownList($model, 'type', array('720х90 px'=>'720х90 px', '1000x60 px'=>'1000x60 px')); ?> <br/>
    
    <br/><?php echo CHtml::submitButton('Подтвердить', array('class'=>'btn btn-large btn-primary')); ?> <br />

    <?php echo CHtml::endForm(); ?> 
</div>

